package com.sinven.action;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

@Controller
@Scope(value = "prototype")
public class PersonAction extends ActionSupport {


    @Action(value = "url",results = {@Result(name = "test",location = "/test.jsp")})
    public String test(){
        return "test";
    }


}
